#ifndef SOCKET_H
#define SOCKET_H

#include "Macro.h"
#include "NoCopyable.h"
#include <sys/socket.h>
#include <unistd.h>

class Socket : public NoCopyable
{
private:
    int _fd;

public:
    Socket();
    Socket(int fd);
    ~Socket();
    int fd() const;
};

#endif